﻿using System.Web.Mvc;

namespace mtg_trader.Web.Models.Home
{
    public class CardModel
    {

        public string Id { get; set; }

        public string Name { get; set; }

        public string ManaCost { get; set; }

        public byte[] Image { get; set; }

        public string MagicCardsInfoUri { get; set; }

        public string ImageUri { get; set; }

        public Rarity Rarity { get; set; }

        public string Types { get; set; }

        public string ErrataTypes { get; set; }

        public decimal LowPrice { get; set; }

        public decimal MediumPrice { get; set; }

        public decimal HighPrice { get; set; }

        public string Description { get; set; }

        public string Flavor { get; set; }

        public string Artist { get; set; }

        public string Power { get; set; }

        public string Toughness { get; set; }

        public string Loyalty { get; set; }

        public int Number { get; set; }

        public string Letter { get; set; }

    }

    public enum Rarity
    {
        Common = 0,
        Uncommon = 1,
        Rare = 2,
        MythicRare = 3,
        Special = 4,
        BasicLand = 5,
        Unknown = -1,
    }

}
